package cn.tedu._05mvcboot02.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class User {
    @ApiModelProperty(value = "用户ID",required = true,dataType = "integer")
    private Integer id;
    @ApiModelProperty(value = "用户名",dataType = "string")
    private String username;
    @ApiModelProperty(value = "密码", dataType = "string")
    private String password;
    @ApiModelProperty(value = "昵称", dataType = "string")
    private String nickname;
    @ApiModelProperty(value = "日期", dataType = "datetime")
    private Date created;

}
